package com.quan.xczs.rpc.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.quan.base.common.base.dao.support.BaseMapper;
import com.quan.xczs.rpc.model.XczsGoodsOrder;

public interface XczsGoodsOrderMapper extends BaseMapper<XczsGoodsOrder, Integer> {
	
	/**
	 * 根据唯一关键字段查询
	 * @param openid 用户标识
	 * @param mobile 手机号
	 * @param orderId 订单号
	 * @return
	 */
	public XczsGoodsOrder getOrderByKey(
			@Param("openId") String openId, 
			@Param("mobile") String mobile, 
			@Param("orderId") String orderId,
			@Param("outTradeNo") String outTradeNo,
			@Param("transactionId") String transactionId
			) ;
	
}